package module.map
{
	import module.map.model.ProjectModel;
	
	import robotlegs.bender.extensions.mediatorMap.api.IMediatorMap;
	import robotlegs.bender.framework.api.IConfig;
	import robotlegs.bender.framework.api.IInjector;
	
	import ui.Map.UI_MapWindow;
	
	public class MapConfigure implements IConfig
	{
		[Inject]
		public var injector:IInjector;
		[Inject]
		public var mediatorMap:IMediatorMap;
		
		public function MapConfigure()
		{
		}
		
		public function configure():void
		{
			injector.map(ProjectModel).asSingleton();
			mediatorMap.map(UI_MapWindow).toMediator(MapMediator);
		}
	}
}